package top.xxyu;

import java.io.IOException;

public class Test {
	
	public static void main(String[] args) throws IOException {
		Process exec = Runtime.getRuntime().exec("cmd.exe /c start C:\\tomcats\\Tomcat7-sharing-center-server1\\bin\\Tomcat7-sharing-center-server1.exe");
		Runtime.getRuntime().exec("cmd.exe /c start C:\\tomcats\\Tomcat7-sharing-center-server2\\bin\\Tomcat7-sharing-center-server2.exe");
		Runtime.getRuntime().exec("cmd.exe /c start C:\\tomcats\\Tomcat7-sharing-center-server3\\bin\\Tomcat7-sharing-center-server3.exe");
		System.out.println(exec);
	}

}
